/**
 * @author lteng
 * @time 2022-06-16 22:17:50 
 */
 
package liteng.study.cn.stuscore.service;

import java.util.List;

import liteng.study.cn.stuscore.comm.Page;
import liteng.study.cn.stuscore.entity.Grade;

/**
 * 年级信息业务层处理接口
 */
public interface GradeService extends Service<Grade> {
	/**
	 * 
	 * @param name
	 * @return
	 */
	public boolean isExistGrade(String name);
	
	/**
	 * 
	 * @param name
	 * @return
	 */
	public Grade getGradeByName(String name);
	
	/**
	 * 
	 * @param padeIndex
	 * @param PageSize
	 * @return
	 */
	public Page getPageGrades(int padeIndex,int PageSize);
	
	/**
	 * 
	 * @param padeIndex
	 * @param PageSize
	 * @param name
	 * @return
	 */
	public Page getPageGrades(int padeIndex,int PageSize,String name);
	
	/**
	 * 
	 * @return
	 */
	public List<Grade> getGrades();
}
